//
//  CadHandler.m
//  gdemm
//
//  Created by 李园园 on 2017/4/1.
//  Copyright © 2017年 Goldencis. All rights reserved.
//

#import "CadHandler.h"

@implementation CadHandler
- (BOOL)isSupportedType:(NSString *)suffix{
    
    return  [suffix caseInsensitiveCompare:@"dwg"] == NSOrderedSame||
            [suffix caseInsensitiveCompare:@"dws"] == NSOrderedSame||
            [suffix caseInsensitiveCompare:@"dxf"] == NSOrderedSame||
            [suffix caseInsensitiveCompare:@"dwt"] == NSOrderedSame
    ;
}


- (NSString *)getIconWithFileName:(NSString *)fileName enced:(BOOL)isEnced{
    NSString *icon;
    icon = isEnced ? @"cloudDisk_icon_cad_enced" : @"cloudDisk_icon_cad";
    return icon;
}
@end
